"""import time  # 引入time模块
a_1=int(time.time())
t=60*60*24*365
a_1=a_1-(t*51)
t=60*60
a_1=a_1-(t*2000)
a_2=0
a_3=2000
a_4=0
a_5=1970
while a_1>59:
    a_2=a_2+1
    a_1=a_1-60
    while a_2>59:
        a_3=a_3+1
        a_2=a_2-60
        while a_3>23:
            a_4=a_4+1
            a_3=a_3-24
            while a_4>364:
                a_5=a_5+1
                a_4=a_4-365
print(f"{a_5+51}年，{a_4}日，{a_3}时，{a_2}分，{a_1}秒。")
import time
import random
T=True
c=0
tt=0
ccc=0

while T:
    aaaaa=1
    a_1=random.randint(0,3)
    a_2=random.randint(0,3)
    a_3=random.randint(0,3)
    a_4=random.randint(0,3)
    aa='a'
    ss='s'
    dd='d'
    ff='f'
    if a_1==0:
        a=aa
    if a_1==1:
        a=aa
    if a_1==2:
        a=aa
    if a_1==3:
        a=aa

    if a_2==0:
        b=aa
    if a_2==1:
        b=ss
    if a_2==2:
        b=dd
    if a_2==3:
        b=ff

    if a_3==0:
        a1=aa
    if a_3==1:
        a1=ss
    if a_3==2:
        a1=dd
    if a_3==3:
        a1=ff

    if a_4==0:
        b1=aa
    if a_4==1:
        b1=ss
    if a_4==2:
        b1=dd
    if a_4==3:
        b1=ff
    a=a+b+a1+b1
    print(a)
    t_1=time.time()
    h=input("")
    t_2=time.time()
    t=t_2-t_1
    m=t/2
    m=60/m
    if a==h:
        print("你是对的")
        print(f"用时{t}秒,每分钟打{m}个字")
        c=c+1
        tt+=t
    if a!=h or ccc==10:
        print(f"你是错的,用时{t}秒")   
        T=False
        tt+=t
    ccc=ccc+1
mm=tt/(c*2)
mm=60/mm
print(f"{c}次")
print(f"{tt}秒,打了{c*2}个字,每分钟打{mm}个字")
from random import*
import random
import time
z=0
t=0
while z<5:
    a1=['a','s','d','f','g','h','j','k','l']
    a2=['a','s','d','f','g','h','j','k','l']
    a3=['a','s','d','f','g','h','j','k','l']
    a4=['a','s','d','f','g','h','j','k','l']
    a5=['a','s','d','f','g','h','j','k','l']
    a6=['a','s','d','f','g','h','j','k','l']
    a7=['a','s','d','f','g','h','j','k','l']
    a8=['a','s','d','f','g','h','j','k','l']
    a9=['a','s','d','f','g','h','j','k','l']
    a10=['a','s','d','f','g','h','j','k','l']
    a11=random.randint(1,1)
    if a11==1:
        a=choice(a1)
        z+=1
    if a11==2:
        a=choice(a1)+choice(a2)
        z+=2
    if a11==3:
        a=choice(a1)+choice(a2)+choice(a3)
        z+=3
    if a11==4:
        a=choice(a1)+choice(a2)+choice(a3)+choice(a4)
        z+=4
    if a11==5:
        a=choice(a1)+choice(a2)+choice(a3)+choice(a4)+choice(a5)
        z+=5
    if a11==6:
        a=choice(a1)+choice(a2)+choice(a3)+choice(a4)+choice(a5)+choice(a6)
        z+=6
    if a11==7:
        a=choice(a1)+choice(a2)+choice(a3)+choice(a4)+choice(a5)+choice(a6)+choice(a7)
        z+=7
    if a11==8:
        a=choice(a1)+choice(a2)+choice(a3)+choice(a4)+choice(a5)+choice(a6)+choice(a7)+choice(a8)
        z+=8
    if a11==9:
        a=choice(a1)+choice(a2)+choice(a3)+choice(a4)+choice(a5)+choice(a6)+choice(a7)+choice(a8)+choice(a9)
        z+=9
    if a11==10:
        a=choice(a1)+choice(a2)+choice(a3)+choice(a4)+choice(a5)+choice(a6)+choice(a7)+choice(a8)+choice(a9)+choice(a10)
        z+=10
    t1=time.time()
    print(a)
    h=input("")
    t2=time.time()
    t=(t2-t1)+t
    if a==h:
        print("真确")
    else:
        print("错误")
p=t/z
print(p,t,z)"""

from random import*
import random
import time
z=0
t=0
while z<5:
    a1=['a','s','d','f','g','h','j','k','l']
    a2=['a','s','d','f','g','h','j','k','l']
    a3=['a','s','d','f','g','h','j','k','l']
    a4=['a','s','d','f','g','h','j','k','l']
    a5=['a','s','d','f','g','h','j','k','l']
    a6=['a','s','d','f','g','h','j','k','l']
    a7=['a','s','d','f','g','h','j','k','l']
    a8=['a','s','d','f','g','h','j','k','l']
    a9=['a','s','d','f','g','h','j','k','l']
    a10=['a','s','d','f','g','h','j','k','l']
    a=choice(a1)+choice(a2)+choice(a3)+choice(a4)+choice(a5)+choice(a6)+choice(a7)+choice(a8)+choice(a9)+choice(a10)
    t1=time.time()
    print(a)
    h=input("")
    t2=time.time()
    t=(t2-t1)+t
    if a==h:
        z=z+1
    print(z)